Scroll Progress Bar

Flash Cards


What is the main drawback of Bubble Sort?


Efficiency

What type of sorting algorithm is Bubble Sort?


Simple

What is binary search in C?


Search

What is the time complexity of binary search?


Logarithmic

What is the key requirement for binary search to work?


Sorted

What does binary search do to the search space in each step?


Halves

In binary search, what is checked to decide whether to search the left or right half of the array?


Middle

What is a double-dimensional array in C?


Matrix

How do you declare a double-dimensional array in C?


Define

What is the purpose of double indexing in arrays?


Access

What is the size of a 2D array defined as 'int arr[3][4]'?


Twelve

What do you use to iterate through a 2D array row by row in C?


Nesting

What operation combines two matrices in C?


Addition

What is the result of adding two matrices of the same dimensions?


Sum

In matrix addition, what must be true about the dimensions of the matrices being added?


Equal